package com.sunlong.jiangwei.entity;

import com.sunlong.jiangwei.vo.AsideMenuVo;
import lombok.Data;
import org.simpleframework.xml.Transient;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Data
@Table(name = "jw_role")
public class JwRole {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long roleId;

    private String roleName;

    private String roleDes;

    private String powerList;

    @Transient
    private List<AsideMenuVo> powerListJson;

    private String powerListOptions;
}
